//
//  TTDianpuSwitchCellModel.h
//  TaoTuo
//
//  Created by admin on 2019/11/6.
//  Copyright © 2019 admin. All rights reserved.
//

#import "TTDianpuCellModel.h"
@class TTDianpuSwitchCellModel;

typedef void(^ClickSwitchBlock)(TTDianpuSwitchCellModel * _Nullable switchModel);

NS_ASSUME_NONNULL_BEGIN

@interface TTDianpuSwitchCellModel : TTDianpuCellModel

@property (nonatomic, assign) BOOL on;
@property (nonatomic, copy) ClickSwitchBlock switchBlock;

+ (id)setModelWithTitle:(NSString *)title placeholder:(NSString *)placeholder content:(NSString *)content isOn:(BOOL)isOn clickSwitchBlock:(ClickSwitchBlock)switchBlock field:(NSString *)field;

@end

NS_ASSUME_NONNULL_END
